package com.wanmait.baohan.util;


public class SysContext {
    private static ThreadLocal<Integer> pageNumLocal = new ThreadLocal<>();
    public static void setPageNum(int pageNum)
    {
        pageNumLocal.set(pageNum);
    }
    public static Integer getPageNum()
    {
        return pageNumLocal.get();
    }
    public static void clear()
    {
        pageNumLocal.remove();
    }

}
